<?php require VIEW_ROOT.'/common/header.php'?>

<form action="?m=note&a=<?php echo $res['action']?>" method="POST">
<input type="hidden" name="not_id" value="<?php echo $res['not_id']?>" />
<table>
	<tr>
		<th colspan="2">日志</th>
	</tr>
	<tr>
		<td width="100">日志内容</td>
		<td class="frm">
			<textarea name="content" rows="5"><?php echo $res['content']?></textarea>
		</td>
	</tr>
	<tr>
		<td>待办</td>
		<td class="frm">
			截止：<input type="text" name="end_time" value="<?php echo ($res['end_time'] - $res['create_time'])/3600?>" />
			<input type="text" name="rank" value="<?php echo $res['rank']?>" />
		</td>
	</tr>
	<tr>
		<td>时间</td>
		<td class="frm">
			<input type="text" name="create_time" value="<?php echo date('Y-m-d H:i:s', $res['create_time'])?>" />
		</td>
	</tr>
	<tr>
		<td></td>
		<td class="frm">
			<input type="submit" value="保存" />
		</td>
	</tr>
</table>
</form>

<?php require VIEW_ROOT.'/common/footer.php'?>
